.step {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: .25rem 0;
    width: 100%;
    padding: 0;

    .step-item {
        flex: 1 1 0;
        margin-top: 0;
        min-height: 1.25rem;
        text-align: center;
        position: relative;

        &:not(:first-child)::before {
            background: #212529;
            content: "";
            height: 2px;
            left: -50%;
            position: absolute;
            top: 9px;
            width: 100%;
        }

        span {
            color: #9D9E9F;
            display: inline-block;
            padding: 20px 10px 0;
            text-decoration: none;

            &::before {
                background: #212529;
                border: .125rem solid #fff;
                border-radius: 50%;
                content: "";
                display: block;
                height: .75rem;
                left: 50%;
                position: absolute;
                top: .25rem;
                transform: translateX(-50%);
                width: .75rem;
                z-index: 1;
            }
        }

        &.active {
            span {
                &::before {
                    background: #212529;
                    border: .125rem solid #fff;
                }
            }

            &~.step-item {
                &::before {
                    background: #DEE0E1;
                }

                span {

                    &::before {
                        background: #DEE0E1;
                    }
                }
            }
        }
    }
}

// <ul class="step mt-4">
//     <li class="step-item active">
//         <span href="#">① 发起担保交易</span>
//     </li>
//     <li class="step-item">
//         <span href="#">② 智能合约延迟 7|14 天</span>
//     </li>
//     <li class="step-item">
//         <span href="#">③ 确认支付/申请退款</span>
//     </li>
//     <li class="step-item">
//         <span href="#">④ 完成担保交易</span>
//     </li>
// </ul>
